package com.chinaedu.oc.sdk.result;


/**
 * 产品推送返回值
 * @Description: TODO
 * @author A18ccms a18ccms_gmail_com 
 * @date 2017年5月9日 下午2:13:35 
 *
 */
public class Result {
	
	/**
	 * 推送成功
	 */
	public static final int CODE_SUCCESS = 1;
	/**
	 * 签名错误
	 */
	public static final int CODE_FAIL_SIGN_ERROR = 2;
	/**
	 * 超时
	 */
	public static final int CODE_FAIL_TIME_OUT = 3;
	/**
	 * 参数错误
	 */
	public static final int CODE_FAIL_PARAM_ERROR = 4;
	
	private int result;
	private String msg;
	
	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "Result [result=" + result + ", msg=" + msg + "]";
	}
	
	
	
	
	
	
}
